import defaultSettings from "@/settings";

export function getToken() {
  return localStorage.getItem(defaultSettings.tokenKey);
}

export function setToken(token) {
  localStorage.setItem(defaultSettings.tokenKey, token);
}

export function removeToken() {
  return localStorage.removeItem(defaultSettings.tokenKey);
}
